<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>printString</title>
</head>

<body>
	Ex 1 : <br/>
	<s:property value="greetings" />
	<hr/>
	
	Ex 2 : OGNL 을 이용한 Object 호출<br/>
	Name : <s:property value="user.name"/><br/>
	ID : <s:property value="user.id"/><br/>
	Level : <s:property value="user.level"/><br/>
	<hr/>
	
	Ex 3 : String List 호출<br/>
	<s:iterator value="stringList">
		<s:property/>
	</s:iterator>
	<hr/>
	
	Ex 4 : User Object List 호출<br/>
	<s:iterator value="listUser">
		<s:property value="name"/>, 
		<s:property value="id"/>, 
		<s:property value="level"/><br/>	
	</s:iterator>
	<hr/>
	
	Ex 5 : User Object List 호출 (Numberic)<br/>
	<s:iterator value="listUser" status="row">
		<s:property value="#row.count"/>
		<s:property value="name"/>
		<s:property value="id"/>
		<s:property value="listUser[#row.index].level"/>
		<s:if test="!(#row.last)">/<br/></s:if>
	</s:iterator>	
	
</body>
</html>